﻿using System;
using System.Collections.Generic;

namespace BenCaoXuan.Infrastructure.EFCore.MySql;

/// <summary>
/// 产品套装表
/// </summary>
public partial class ProductPackage
{
    /// <summary>
    /// 套餐ID，主键
    /// </summary>
    public string PpId { get; set; } = null!;

    /// <summary>
    /// 套餐名称
    /// </summary>
    public string? PpName { get; set; }

    /// <summary>
    /// 套餐封面
    /// </summary>
    public string? PpPhoto { get; set; }

    /// <summary>
    /// 套餐简介
    /// </summary>
    public string? PpDescription { get; set; }

    /// <summary>
    /// 套餐总时长（分钟）
    /// </summary>
    public string? PpDuration { get; set; }

    /// <summary>
    /// 套餐原价
    /// </summary>
    public decimal? PpOriginalPrice { get; set; }

    /// <summary>
    /// 套餐佣金
    /// </summary>
    public decimal? PpRules { get; set; }

    /// <summary>
    /// 套餐售价
    /// </summary>
    public decimal? PpPrice { get; set; }

    /// <summary>
    /// 套餐状态：1-在售，2-下架，3-预售
    /// </summary>
    public int? PpStatus { get; set; }

    /// <summary>
    /// 套餐开始时间
    /// </summary>
    public DateTime? PpStartTime { get; set; }

    /// <summary>
    /// 结束时间
    /// </summary>
    public DateTime? PpEndTime { get; set; }

    /// <summary>
    /// 是否禁用：1-禁用，0-启用
    /// </summary>
    public int? PpIsBan { get; set; }

    /// <summary>
    /// 套餐备注信息
    /// </summary>
    public string? PpRemark { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? PpCreateTime { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? PpUpdateTime { get; set; }
}
